oem-drawer-popup {
    position: fixed;
    z-index: 510000;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
}
oem-drawer-popup oem-drawer-popup-warp {
    background-color: var(--drawer-popup-bg,#ffffff);
    color: var(--font-color,#000000);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 100;
}
oem-drawer-popup oem-drawer-popup-warp[position="left"] {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    transform: translateX(-100%);
    height: 100%;
    transition: all 0.35s ease-in-out;
}
oem-drawer-popup oem-drawer-popup-warp[position="right"] {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    transform: translateX(100%);
    height: 100%;
    transition: all 0.35s ease-in-out;
}
oem-drawer-popup oem-drawer-popup-warp[position="top"] {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    transform: translateY(-100%);
    transition: all 0.35s ease-in-out;
}
oem-drawer-popup oem-drawer-popup-warp[position="bottom"] {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: all 0.35s ease-in-out;
}
oem-drawer-popup .oem-drawer-popup-mask {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.oem-drawer-open {
    display: flex;
}
.oem-drawer-open .oem-drawer-popup-open[position="left"],
.oem-drawer-open .oem-drawer-popup-open[position="right"] {
    transform: translateX(0);
}
.oem-drawer-open .oem-drawer-popup-open[position="top"],
.oem-drawer-open .oem-drawer-popup-open[position="bottom"] {
    transform: translateY(0);
}
